-
Home
-
NitroPack – Caching & Speed Optimization for Core Web Vitals, Defer CSS & JS, Lazy load Images and CDN
-
1.17.9
-
Code
-
Classes
- GeoTargetingWP
Total Complexity |
48 |
Dependencies |
1 |
Dependents |
3 |
Total lines |
238 |
Lines of code |
154 |
Logical lines of code |
104 |
Comment lines |
27 |
Methods |
12 |
Properties |
3 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
init() |
A |
45 |
10 |
41 |
purgeCache() |
A |
53 |
10 |
23 |
hasGeoTargetingWpCookies() |
S |
54 |
6 |
21 |
filterCookies() |
S |
61 |
4 |
12 |
getCache() |
S |
62 |
4 |
12 |
setCache() |
S |
63 |
4 |
10 |
hasCache() |
S |
64 |
3 |
10 |
configureVariationCookies() |
S |
65 |
2 |
9 |
getCacheFile() |
S |
71 |
2 |
6 |
isActive() |
S |
80 |
1 |
3 |
getCustomVariationCookies() |
S |
75 |
1 |
4 |
isCacheAllowed() |
S |
82 |
1 |
3 |